<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>测试</title>
    <script src="/static/uiplug/jquery/jquery-3.0.0.min.js" type="text/javascript"></script>
</head>
<body style=" background-color: #eee">
<div id="test">AJAX提交</div>
<div id="ajax"></div>


<script type="text/javascript">
    var jsonObj= {
        "entity":{}
    };
    var jstring = JSON.stringify(jsonObj)
    $("#test").click(function(){
        $.ajax({
            type:'post',
            contentType: 'application/json; charset=UTF-8',
            url:'/recipient/getRecipientList',
            data:jstring,
            success:function(data){
                $("#ajax").html(data);
            }
        });

    });




</script>




</body>
</html>